﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

using Benefit.Models.Week;
namespace Benefit.Interface.Week
{
    /// <summary>
    /// 小组周累计基本数据
    /// </summary>
    public interface IGroupWeekSum
    {


        /// <summary>
        /// 删除当月所有记录
        /// </summary>
        /// <param name="weekId"></param>
        void Delete(int week, int month, int year);

        /// <summary>
        /// 保存周小组累计值
        /// </summary>
        /// <param name="tradeHistoryId">插入时间编号</param>
        /// <param name="pdate">插入时间</param>
        void InitGroupWeekSum(int week, int month, int year);

        GroupWeekSum GetGroupWeekSum(int groupId, int week, int year);

        List<GroupWeekSum> GetGroupWeekSum(int week, int year);
    }
}